package com.infore.siteManagement.entity;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * The persistent class for the AREA_LEVEL database table.
 * 区域等级表
 * llf
 */
@Entity
@Table(name="AREA_LEVEL")
@NamedQuery(name="AreaLevel.findAll", query="SELECT a FROM AreaLevel a")
public class AreaLevel implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="AREA_LEVEL_ID")
	@GeneratedValue(generator = "uuidGenerator")
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String areaLevelId;

	/**区域等级Code：0国级1省级,2市级,3区级,**/
	@Column(name="AREA_LEVEL_CODE")
	private String areaLevelCode;

	/**区域等级名称**/
	@Column(name="AREA_LEVEL_NAME")
	private String areaLevelName;

	/**创建时间**/
	@Temporal(TemporalType.TIMESTAMP)
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") 
	@Column(name="CREATE_TIME")
	private Date createTime;

	/**最后修改时间**/
	@Temporal(TemporalType.TIMESTAMP)
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") 
	@Column(name="LAST_UPDATE_TIME")
	private Date lastUpdateTime;

	/**备注**/
	@Column(name = "REMARK")
	private String remark;

	/**状态**/
	@Column(name = "STATUS")
	private Integer status;

	public AreaLevel() {
	}

	public String getAreaLevelId() {
		return this.areaLevelId;
	}

	public void setAreaLevelId(String areaLevelId) {
		this.areaLevelId = areaLevelId;
	}

	public String getAreaLevelCode() {
		return this.areaLevelCode;
	}

	public void setAreaLevelCode(String areaLevelCode) {
		this.areaLevelCode = areaLevelCode;
	}

	public String getAreaLevelName() {
		return this.areaLevelName;
	}

	public void setAreaLevelName(String areaLevelName) {
		this.areaLevelName = areaLevelName;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}